package com.bite.demo.service;


import com.bite.demo.mapper.UserMapper;
import com.bite.demo.model.UserInfo;
import org.apache.catalina.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserMapper userMapper;
    public UserInfo queryUserByName(String userName) {
       return userMapper.queryUserByName(userName);
    }
}
